factors affecting genetic variation